<?php

namespace App\Admin\Controllers;

use App\Admin\Forms\ApplicationSetting;
use App\Admin\Forms\Settings;
use App\Admin\Forms\ViewSetting;
use Encore\Admin\Controllers\AdminController;
use Encore\Admin\Layout\Content;
use Encore\Admin\Widgets\Tab;


class SystemController extends AdminController
{
    public function index(Content $content)
    {

        $forms = [
            'view'    => ViewSetting::class,
            'application'    => ApplicationSetting::class,
        ];

        return $content
            ->title('系统设置')
            ->body(Tab::forms($forms));

    }


}
